package com.ifnk.portaljava.dapWeb.pojo;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Permission implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3029301289783624743L;
	private int id;
	private String permissionName;
	private Long permissionCode;
	private Module module;
	private Set<Role> roleSet = new HashSet<Role>();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPermissionName() {
		return permissionName;
	}

	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}


	public Long getPermissionCode() {
		return permissionCode;
	}

	public void setPermissionCode(Long permissionCode) {
		this.permissionCode = permissionCode;
	}

	public Module getModule() {
		return module;
	}

	public void setModule(Module module) {
		this.module = module;
	}

	public Set<Role> getRoleSet() {
		return roleSet;
	}

	public void setRoleSet(Set<Role> roleSet) {
		this.roleSet = roleSet;
	}

}
